<?php
/*$redis = new \Redis();
$redis->connect('localhost', 6379);
$order = [
    'id' => 1,
    'name' => '小米6',
    'price' => 2499,
    'created_at' => '2017-07-14'
];
$order1 ='6666';
$res=$redis->publish("order", json_encode($order));
$res=$redis->publish("order", json_encode($order1));

var_dump($res);
die;*/
php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"